﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class XTJUser : MonoBehaviour {

    public UISprite avatar;
    public UITexture wxAvatar;
    //public GameObject waitObj;
    //public GameObject goldObj;
    public UILabel goldLabel;
    public UILabel chairLabel;
    public GameObject QiangZhuangStatus;
    public GameObject bankerIcon;
    public GameObject readyStatus;

    public int uid;
	void Start () {
		
	}

    public void InitPlayer()
    {
        avatar.gameObject.SetActive(false);
        wxAvatar.gameObject.SetActive(false);
        goldLabel.text = "";
        bankerIcon.SetActive(false);
        readyStatus.SetActive(false);
        QiangZhuangStatus.SetActive(false);
    }

    /// <summary>
    /// 百人场玩家初始化
    /// </summary>
    public void InitPlayer100()
    {
        avatar.gameObject.SetActive(false);
        wxAvatar.gameObject.SetActive(false);
        chairLabel.gameObject.SetActive(true);
        goldLabel.transform.parent.gameObject.SetActive(false);
    }
}
